# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html

from scrapy import Item, Field

class PcautoItem(Item):
    # define the fields for your item here like:
    # name = scrapy.Field()

    name = Field()  # 网站名字
    url = Field()  # 路由地址
    brand = Field()  # 商标
    car_type = Field()  # 车子类型
    type = Field()  # 一级分类
    sub_type = Field()  # 二级分类

    title = Field()  # 标题

    question = Field()  # 问题
    topic_id = Field()
    question_img = Field()  # 问题图片

    replay_id = Field() # 会帖子的顺序
    replay = Field()  # 回答
    replay_img = Field()  # 回答图片
    replay_to = Field()  # 回复给
    best_answer = Field() # 是否是最佳回答

    datetime = Field()  # 爬数据的时间